/**
 * 非商城-第三方接口
 */
import axios from '../axiosOther';

/** *********获取deeplink跳转地址******** */
export const getDeeplinkUrl = (id) => axios.get('appserver/multiple/deeplink/getItem', {
  id
});

/** *********获取要签署的协议总页数******** */
export const getContractSize = (token) => axios.get('app/file/getContractSize', {
  token
});

/** *********获取微信sdk验证信息 ******** */
export const getWxJsapiSignature = (url) => axios.get('dz-wx/mp/jsapi/getJsapi', {
  url
});

/** *********获取用户头像******** */
export const getAvatorByToken = (token) => axios.get('open/appserver/user/baseInfo', {
  actionIn: 111111,
  token
});
